Jump to content

Floppy disk hardware emulator

From Wikipedia, the free encyclopedia
A floppy disk hardware emulator for a 3½ drive.
The front of an emulator, showing the USB port in which a flash drive is connected.

A floppy disk hardware emulator or semi-virtual diskette (SVD) is a device that emulates a floppy disk drive with a solid state or network storage device that is plug compatible with the drive it replaces, similar to how solid-state drives replace mechanical hard disk drives.

History

[edit]

Older models of computers, electronic musical instruments and industrial automation often used floppy disk drives for data transfer. Older equipment may be difficult to replace or upgrade because of cost, requirement for continuous availability or unavailable upgrades. Proper operation may require operating system, software and data to be read and written from and to floppies, forcing users to maintain floppy drives on supporting systems.[1]

Floppy disks and floppy drives are gradually going out of production,[2][3][4][5] and replacement of malfunctioning drives, and the systems hosting them, is becoming increasingly difficult. Floppy disks themselves are fragile, or may need to be replaced often. An alternative is to use a floppy disk hardware emulator, a device which appears to be a standard floppy drive to the old equipment by interfacing directly to the floppy disk controller, while storing data in another medium such as a USB thumb drive, Secure Digital card, or a shared drive on a computer network. Emulators can also be used as a higher-performance replacement for mechanical floppy disk drives.

Emulation process

[edit]

A typical floppy disk controller sends an MFM / FM / GCR encoded signal to the drive to write data, and expects a similar signal returned when reading the drive.[6] On a write, a hardware PLL or a software-based filter component undoes the encoding, and stores the sector data as logically written by the host. An inverse mechanism translates the stored data back into an encoded signal when the data is read. Noisy raw data signals are filtered and cleaned up before conversion.

Most FDC interfaces do not directly address tracks; instead they provide "step-in" and "step-out" pulses. Those, and the current sector number virtually rotating under the emulated read/write head, are tracked by the emulator in order to determine which sector is to be accessed.[7][8]

Because the interface to the floppy drive is very low-level, emulators must maintain the approximate timing of floppy disk operations. This may require the emulator to provide buffering, with some delay in updating the permanent storage.

The emulator saves the data written to the floppy in either local storage (stand-alone emulators), or in a remote storage device or data exchange module (stateless emulators).

Data exchange

[edit]

The floppy disk emulator can provide other systems access to the data on the emulated floppy in a number of ways:

  • Direct access to some dedicated disk partition (e.g.: a 1.44MB partition on a USB key)
  • Floppy file system translation (e.g.: FAT12 floppy ↔ USB key folder)
  • Floppy disk images (e.g.: raw floppy ↔ .img/.iso USB key file)

Direct access and floppy image implementations can also emulate system / non-standard floppies, whose file system can't be simply translated.

Floppy image implementation can also be coupled with a virtual drive to seamlessly emulate floppy drives on a computer.

Some devices can store multiple floppy images, and provide a mechanism to select which emulated floppy is mounted on the emulated drive.

References

[edit]
  1. ^ Hardin, Ken (March 18, 2003). "Don't be too quick to dump the floppy". TechRepublic. Archived from the original on June 14, 2018.
  2. ^ "PC World says farewell to floppy". BBC News. January 30, 2007. Archived from the original on February 16, 2018.
  3. ^ "R.I.P. Floppy Disk". BBC News. April 1, 2003. Archived from the original on July 19, 2018.
  4. ^ "3.5-inch floppy still available from Verbatim, [[Imation]] (3M), and Maxell". Archived from the original on 2010-11-30. Retrieved 2011-11-24.
  5. ^ Powers, Jeffrey (April 26, 2010). "Tribute to Floppy Disk as Sony discontinues production". Geek News Central. Archived from the original on May 1, 2010.
  6. ^ "Magnetic Recording Fundamentals". Computer Peripherals (PDF). Singapore: Nanyang Technological University. October 16, 2001. Archived (PDF) from the original on October 2, 2018.
  7. ^ Haardt, Michael; Knaff, Alain; Niemi, David C. (June 11, 2001). "The floppy user guide" (PDF). Archived (PDF) from the original on February 13, 2019.
  8. ^ Kozierok, Charles M. "Floppy Disk Drives". The PC Guide. Archived from the original on March 4, 2001.

See also

[edit]